package com.maixy.studyonlineapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maixy.studyonlineapi.entity.ActivityContentBrowseRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ActivityContentBrowseRecordMapper
 * @Description TODO
 * @Date 2021/2/7 23:17
 * @Author maixy
 */
@Mapper
public interface ActivityContentBrowseRecordMapper extends BaseMapper<ActivityContentBrowseRecord> {

    List<ActivityContentBrowseRecord> getMyBrowseRecord(@Param("activityId") Long activityId, @Param("userId") Long userId,
                                                        @Param("beginIndex") Integer beginIndex, @Param("pageSize") Integer pageSize);
}
